package com.atguigu.eduservice.error;

/**
 * @Author: Cyrus
 * @CreateDate: 2020/12/6
 */
public enum TeacherError {
    E_10001(10001, "添加教师出现重复信息"),
    E_10002(10002, "更新教师出现重复信息");

    private Integer code;

    private String msg;

    TeacherError(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
